package com.glc.hms.common.util;

import com.glc.hms.common.exception.ServiceException;
import org.apache.commons.lang.StringUtils;

/**
 * @author Santa
 * @since 2019/11/14
 */
public abstract class Assert {

    public static void isBlank(String str, String message) {
        if (StringUtils.isBlank(str)) {
            throw new ServiceException(500,message);
        }
    }
}























